// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import fixedBar from './components/public/fixedBar/fixedBar.vue'
import router from './router'
import * as httpRequest from './api/index'

Vue.prototype.httpRequest = httpRequest;    //api注入全局

Vue.config.productionTip = false
require('./mock/mock.js')






//全局组件
Vue.component('fixed-bar', Vue.extend(fixedBar));




/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
